testsuite: introspection: Do not override environment variables.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Mon, 20 Dec 2021 04:19:50 +0000 (23:19 -0500)
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>
Mon, 20 Dec 2021 16:22:41 +0000 (11:22 -0500)
commit29e6cc58088ef37bfde364965cdebd2f7402f315
treeb71a32e72148e6f688c90c6ab9653288bf20a708
parent4b3247576a3e108ded2f4ce72a7ce476460c9f1a
testsuite: introspection: Do not override environment variables.

Functional package managers such as GNU Guix rely on environment
variables such as GI_TYPELIB_PATH to discover the system libraries and
resources; extend rather than override them.

* testsuite/introspection/meson.build (env): New variable that extends
rather than override the GI_TYPELIB_PATH and LD_PRELOAD environment
variables.
(api): Use the above as the value of the 'env' keyword argument.
testsuite/introspection/meson.build